﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExtJSExtender.Controls
{
    public class GridTriggerPostBackEvents
    {
        private bool rowSelectChangedEvent = false;
        /// <summary>
        /// 行选择改变事件，默认不触发PostBack
        /// </summary>
        public bool RowSelectChanged { get { return rowSelectChangedEvent; } set { rowSelectChangedEvent = value; } }

        private bool rowCommandEvent = true;
        /// <summary>
        /// 行命令事件，默认触发PostBack
        /// </summary>
        public bool RowCommand { get { return rowCommandEvent; } set { rowCommandEvent = value; } }

        private bool loadPageDataEvent = true;
        /// <summary>
        /// 页面数据加载的事件，默认触发PostBack
        /// </summary>
        public bool LoadPageData { get { return loadPageDataEvent; } set { loadPageDataEvent = value; } }
    }
}
